<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="registerRecordList" checkbox="true" fitColumns="false" title="登记录副本" actionUrl="registerRecordController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="id"  field="id"  hidden="false"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="专利号"  field="patentEntity.applicationNo"  hidden="true" query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="专利名称"  field="patentEntity.title"  hidden="true" query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="专利类型"  field="patentEntity.patentType"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="订单号"  field="orderNo"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="手机号"  field="userMobile"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="登记薄副本数量"  field="registerNum"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="官方费用"  field="officialAmount"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="代理费用"  field="agentAmount"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="支付总额"  field="orderAmount"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="支付状态"  field="orderState"  hidden="true" query="true" queryMode="single"  width="120" replace="未支付_1,支付成功_2,支付失败_3"></t:dgCol>
   <t:dgCol title="创建时间"  field="createDate" formatter="yyyy-MM-dd hh:mm:ss" hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="是否有效"  field="validFlag"  hidden="true" query="true" queryMode="single"  width="120" replace="无效_0,有效_1"></t:dgCol>
   <t:dgCol title="订单完成时间"  field="paidTime" formatter="yyyy-MM-dd hh:mm:ss" hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="registerRecordController.do?doDel&id={id}" />
   <t:dgToolBar title="编辑" icon="icon-edit" url="registerRecordController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="registerRecordController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="registerRecordController.do?goUpdate" funname="detail"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/group/register/registerRecordList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#registerRecordListtb").find("input[name='createDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#registerRecordListtb").find("input[name='createDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#registerRecordListtb").find("input[name='updateDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#registerRecordListtb").find("input[name='updateDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#registerRecordListtb").find("input[name='paidTime_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#registerRecordListtb").find("input[name='paidTime_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 </script>